package com.zwb.demo.exception;

import org.apache.poi.ss.usermodel.Sheet;

public class ConfigException extends RuntimeException{

    public ConfigException(ExceptionEnum exceptionEnum) {
        super(exceptionEnum.getErrMsg());
    }

    public ConfigException(ExceptionEnum exceptionEnum, Object... args) {
        super(String.format(exceptionEnum.getErrMsg(), args));
    }
}
